<?php /* Smarty version 2.6.26, created on 2013-08-22 11:31:19
         compiled from video_default.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'l', 'video_default.tpl', 5, false),array('modifier', 'thumb', 'video_default.tpl', 5, false),array('modifier', 'check_perm', 'video_default.tpl', 13, false),)), $this); ?>
<div>
	<section class="row">
		<?php $_from = $this->_tpl_vars['aVideo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
		<div class="post four column video-item">
			<div class="post-image"><a href="<?php echo ((is_array($_tmp='video/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['v']['video_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['v']['video_id'])); ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['v']['video_thumb'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'crop300x175') : smarty_modifier_thumb($_tmp, 'crop300x175')); ?>
" /></a></div>
			<div class="post-container">
				<h2 class="post-title"><a href="<?php echo ((is_array($_tmp='video/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['v']['video_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['v']['video_id'])); ?>
"><?php echo $this->_tpl_vars['v']['video_title']; ?>
</a></h2>
			</div>
		</div>
		<?php endforeach; endif; unset($_from); ?>
	</section>
	<div class="content-toolbar">
		<?php if (((is_array($_tmp='admin video create')) ? $this->_run_mod_handler('check_perm', true, $_tmp) : smarty_modifier_check_perm($_tmp))): ?><a href="<?php echo 'video/create'; ?>
" class="button">Tạo video mới</a><?php endif; ?>
	</div>
</div>